//
//  ZGSTypeListCell.m
//  MapleLeaf
//
//  Created by dllo on 15/11/28.
//  Copyright © 2015年 AntennaBabyTeam. All rights reserved.
//

#import "ZGSTypeListCell.h"
#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height

@implementation ZGSTypeListCell
-(instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.picView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, (WIDTH - 40) / 3, (WIDTH - 40) / 3)];
        [self.contentView addSubview:self.picView];
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, (WIDTH - 40) / 3, (WIDTH - 40) / 3, 20)];
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        [self.contentView addSubview:self.titleLabel];

    }
    return self;
}
@end
